package com.shu.qq.di

import android.util.Log
import com.shu.qq.data.QQService
import com.shu.qq.data.interceptor.AuthenticationInterceptor
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

const val TAG = "shu-check"
@InstallIn(SingletonComponent::class)
@Module
class NetworkModule {
    @Provides
    @Singleton
    fun provideQQService(installIn: AuthenticationInterceptor):QQService{
        return QQService.create(installIn)
    }
}